﻿using System;
using System.Web;
using System.Web.Services;
using System.Windows.Forms;
using BillBook.Controller;
using BillBook.Model;

public partial class admin_user_edituser : System.Web.UI.Page
{
    private static long userid;

    [WebMethod]
    public static User getUser()
    {
       
       UserController userController=new UserController();
       return userController.GetUser(userid);
    }

    protected void Page_Load(object sender, EventArgs e)
    {
       userid=Convert.ToInt64(HttpContext.Current.Request.QueryString["uid"]);
    }
}
